Skip to main content
Version: 3.5.0

Return My Address

This returns the address of the Aventus account connected to the SURI being used.

// Returns the address associated with the SURI interacting with the API.
avnSdk.myAddress;
All API utils also work in offline mode.

See the Initialise page for instructions on how to set the API in Offline mode.

Also, seed and mnemonic are not stored and cannot be returned.

Example Output

In Offline mode, undefined is returned.

5EYzWhGxbogEfwNKL52ZRDCgBxu4t8oWDFAsXXVYvH6dMQTo